package com.yutel.phone.binh.service;

import java.util.ArrayList;

import android.content.Intent;

import com.yutel.phone.binh.data.vo.VideoStream;

public class PlayerService extends SyncService {

	@Override
	protected ArrayList<VideoStream> getData(Intent intent) {
		String videoURL = intent.getStringExtra(Intent.EXTRA_TEXT);
		VideoStream vs = dq.videoStream(videoURL,"qiyi");
		if (vs != null) {
			ArrayList<VideoStream> list = new ArrayList<VideoStream>();
			list.add(vs);
			return list;
		}
		return null;
	}

	@Override
	protected String getKey() {
		return this.getClass().getSimpleName();
	}

}
